{% extends 'layout/manage.html' %}
{% block css %}
    <style>
        .container .list-group .delete_pro {
            border-left: 2px solid #ff9e59;
        !important;
        }
        .err-msg{
            color: red;
        }
    </style>
{% endblock %}
{% block content %}
    <div class="container">
        <div class="col-sm-3">
            <div class="panel panel-default">
                <div class="panel-heading text-center"><i class="fa fa-user" aria-hidden="true"></i>&nbsp;个人中心</div>
                <div class="list-group ">
                    <a href="" class="list-group-item">我的资料</a>
			<a href="{% url 'set_password' project_id=request.tracer.project.id %}" class="list-group-item">修改密码</a>
                    <a href="{% url 'setting_delete' project_id=request.tracer.project.id %}" class="list-group-item delete_pro">删除项目</a>
                </div>
            </div>
        </div>
        <div class="col-sm-9">
            <div class="panel panel-default">
                <div class="panel-heading ">&nbsp;删除项目</div>
                <div class="panel-body">
                    <form method="post" action="">
                        {% csrf_token %}
                        <div class="form-group">
                            <label for="project_name">项目名称</label>
                            <input type="text" class="form-control" id="project_name" name="project_name" placeholder="输入项目名称">
                        </div>
                        <input type="submit" class="btn btn-danger" value="删除">
                        <span class="err-msg pull-right">{{ error }}</span>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
